package com.m31skytech.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("/")
    public  String defaultRouting(ModelMap modelMap){
        return "index";
    }

    @RequestMapping("/error404")
    public  String error404Page_Routing(ModelMap modelMap){
        return "error404";
    }

    @RequestMapping("/main")
    public  String mainRouting(ModelMap modelMap){
        return "main";
    }






}
